<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('数据迁移报告详情')" />
</head>
<body class="gray-bg">
	<div class="container-div">
		<div class="row">
			<!-- <div class="col-sm-12 search-collapse">
				
			</div> -->
			<form id="gen-form">
				<div class="select-list">
					<ul>
						<li><input id="transReportId" name="transReportId" th:value="${transReportId}"
							type="hidden" /></li>
					</ul>
				</div>
			</form>
			<div class="col-sm-12 select-table table-striped">
				<table id="dialogTable"></table>
			</div>
		</div>
	</div>
	<th:block th:include="include :: footer" />
	<script th:inline="javascript">
        var prefix = ctx + "stat/reportDetail";
        var ruleTypeDatas = [[${@dict.getType('rule_type')}]];

        $(function() {debugger;
            var options = {
            	id : "dialogTable"	,
                url: prefix + "/showStatTransReportDetailId",
                sortName: "createTime",
		        sortOrder: "desc",
		        showExport: false,
		        singleSelect:false,
		        showSearch: false,
		        showRefresh: false,
		        showToggle: false,
		        showColumns: false,
		        clickToSelect: true,
		        rememberSelected: true,
		        modalName: "数据迁移报告详情",
                columns: [{
                    checkbox: true
                },
                {
                    field: 'reportId',
                    title: '作业信息id',
                    visible: false
                },
                {
                    field: 'transReportId',
                    title: '迁移报告id'
                },
                {
                    field: 'jobId',
                    title: '作业id'
                },
                {
                    field: 'jobCode',
                    title: '作业代码'
                },
                {
                    field: 'jobName',
                    title: '作业名称'
                },
                {
                    field: 'jobType',
                    title: '作业类型'
                },
                {
                    field: 'sourceSysId',
                    title: '源系统id'
                },
                {
                    field: 'sourceSysCode',
                    title: '源系统代码'
                },
                {
                    field: 'sourceSysName',
                    title: '源系统名称'
                },
                {
                    field: 'targetSysId',
                    title: '目标系统id'
                },
                {
                    field: 'targetSysCode',
                    title: '目标系统代码'
                },
                {
                    field: 'targetSysName',
                    title: '目标系统名称'
                },
                {
                    field: 'sourceTableCode',
                    title: '源系统主表代码'
                },
                {
                    field: 'sourceTableName',
                    title: '源系统主表名称'
                },
                {
                    field: 'targetTableCode',
                    title: '目标系统表代码'
                },
                {
                    field: 'targetTableName',
                    title: '目标系统表名称'
                },
                {
                    field: 'sourceTransQuantity',
                    title: '源系统主表迁移数据量'
                },
                {
                    field: 'targetTransQuantity',
                    title: '目标系统表迁移数据量'
                },
                {
                    field: 'successNumber',
                    title: '成功记录数'
                },
                {
                    field: 'errorNumber',
                    title: '有错误记录数'
                },
                {
                    field: 'jobTime',
                    title: '作业耗时'
                },
                {
                    field: 'jobResultCode',
                    title: '作业结果代码'
                },
                {
                    field: 'jobErrorInfo',
                    title: '错误信息'
                },
                {
                    field: 'jobBeginTime',
                    title: '作业开始时间'
                },
                {
                    field: 'jobEndTime',
                    title: '作业结束时间'
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>
